package com.navajo.web.business.page;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;

import com.navajo.components.SideBarMenuLayout;
import com.vaadin.ui.NativeButton;

public class SideBarMenu extends SideBarMenuLayout {
    @Autowired
    public MessageSource messageSource;
    private NativeButton nativeButton = new NativeButton("Sidebar");



    public SideBarMenu() {
        super();
    }



    @Autowired
    private void generate() {
        addButton(nativeButton);
    }
    
    
    public void test ()
    {
        nativeButton.setEnabled(false);
    }
    
    
}
